package com.example.service;

import com.example.model.User;
import com.example.model.dlo.RegisterRequest;
import org.springframework.stereotype.Service;
public interface UserService {
    User authenticate(String username, String password);

    boolean register(RegisterRequest registerRequest);

    void UpdateUser(User user);

    void updatePassword(int id, String newPassword);
}
